package com.example.mybatisflexdemo.service;

import com.example.mybatisflexdemo.dto.UserAddDTO;
import com.example.mybatisflexdemo.dto.UserDTO;

import java.util.List;

public interface UserService {

    List<UserDTO> getUserList();

    int addUser(UserAddDTO user);

    int delUser(Integer id);
}
